package bingo.rpc.framework.spring;

import org.springframework.beans.factory.xml.BeanDefinitionParser;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * 自定义标签
 * @author hujinsheng
 * @project bingo
 * @create 2017-12-13 11:01
 **/
public class BingoRemoteNamespaceHandler extends NamespaceHandlerSupport{
    @Override
    public void init() {
        registerBeanDefinitionParser("service", new ProviderFactoryBeanDefinitionParser() {
        });
        registerBeanDefinitionParser("reference",new InvokerFactoryBeanDefinitionParser());
    }
}
